package com.example.springdemo02.custom;

import org.springframework.boot.context.properties.ConfigurationProperties;

@SuppressWarnings("unused")
@ConfigurationProperties(prefix = "eazen.auto")
public class CustomProperties {
    /**
     * 自动配置是否生效
     */
    private boolean enable;

    public boolean isEnable(){return enable;}

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
